package exception2;

import java.awt.*;
import java.io.IOException;
import java.rmi.server.ExportException;

public class ThrowsDemo2 {
    void dosome() throws IOException {

    }
}

class subclass extends ThrowsDemo2{
   // void dosme(){}
   // void dosome() throws IOException {}
   // void dosome() throws IOException,RuntimeException{ }
  // void dosome() throws ExportException{}

    //void dosome() throws Exception{}
   // void dosome() throws ArithmeticException{}
    //void dosome() throws IllegalAgeException{}
}